//
//  NEDAppConfig.h
//  NEDNetwork_Example
//
//  Created by 000 on 2021/12/27.
//  Copyright © 2021 000. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <YYModel/NSObject+YYModel.h>

NS_ASSUME_NONNULL_BEGIN


/// 全站弹幕相关信息
@interface NEDAppBarrageConfig : NSObject

@property (assign, nonatomic) NSInteger pollingSecond;  ///< 请求接口频率（秒）
@property (assign, nonatomic) NSInteger intervalSecond;  ///< 通告显示间隔时间（秒）
@property (assign, nonatomic) BOOL      allHomePage;    ///< 盲盒首页/商城首页/仓库页/我的页面（0：关闭；1：开启）
@property (assign, nonatomic) BOOL      blindBoxDetailPage;  ///< 盲盒详情页（0：关闭；1：开启）
@property (assign, nonatomic) BOOL      goodsDetailPage;    ///< 商品详情页（0：关闭；1：开启）
@property (assign, nonatomic) BOOL      resultPage;         ///< 抽取结果页（0：关闭；1：开启）

@end


@interface NEDAppConfig : NSObject<YYModel>


@property (nonatomic, copy) NSString * mp3_draw_symbol;
@property (nonatomic, copy) NSString * mp3_open_box;
@property (nonatomic, copy) NSString * mp3_upgrade;
@property (nonatomic, copy) NSString * third_goods_delivery_arrival_tip;
@property (nonatomic, copy) NSString * third_goods_delivery_tip;
@property (nonatomic, copy) NSString * third_goods_game_tip;

/// 回收提醒文本
@property (nonatomic, copy) NSString * page_bottom_text_recovery_click_tip;

/// 盲盒购买须知
@property (nonatomic, copy) NSString * page_bottom_text_buyer_json;
/// 仓库顶部轮播提示文本
@property (nonatomic, copy) NSString * warehouse_banner_word;
/// 仓库无数据是否显示开盒按钮
@property (nonatomic) BOOL shield_open_box;

#pragma mark - 开箱动画

// ************* 注意不要改变下面属性的顺序 缓存的时候有优先级 ************//

/// 商品展示动画
@property (nonatomic, copy) NSString * webp_goods;
/// 点击开箱动画
@property (nonatomic, copy) NSString * webp_open_click;
/// 符号动画
@property (nonatomic, copy) NSString * webp_mark;
/// 开蓝色商品动画
@property (nonatomic, copy) NSString * webp_open_blue;
/// 5连抽动画
@property (nonatomic, copy) NSString * webp_open_five;
/// 开紫色商品动画
@property (nonatomic, copy) NSString * webp_open_purple;
/// 开红色商品动画
@property (nonatomic, copy) NSString * webp_open_red;
/// 开黄色商品动画
@property (nonatomic, copy) NSString * webp_open_yellow;
/// 升级紫色商品动画
@property (nonatomic, copy) NSString * webp_open_upgrade_purple;
/// 升级成红色商品动画
@property (nonatomic, copy) NSString * webp_open_upgrade_red;
/// 升级成黄色商品动画
@property (nonatomic, copy) NSString * webp_open_upgrade_yellow;

#pragma mark -

/// 页面底部文案-盲盒详情底部未成年提示
@property (nonatomic, copy) NSString * page_bottom_text_box_detailes_under_age;

/// 微信登录跳过绑定手机号开关，1开启跳过，0关闭跳过
@property(nonatomic, assign) BOOL bind_phone_skip_switch;

/// 苹果登录跳过绑定开关  0：跳过，1：不跳过
@property(nonatomic, assign) BOOL ios_skip_ios_login_bind_phone;

#pragma mark - 分享
///分享顶部文案
@property (nonatomic, copy) NSString * topText;
///分享底部文案
@property (nonatomic, copy) NSString * bottomText;
///分享二维码地址
@property (nonatomic, copy) NSString * qrCodeUrl;
///分享底图地址
@property (nonatomic, copy) NSString * baseMap;
///分享logourl
@property (nonatomic, copy) NSString * logoUrl;
///v1.3.4 炫耀弹窗开关 1:弹，0:不弹
@property (nonatomic, assign) bool show_dialog_switch;
///v1.3.4 炫耀分享开关 1:开启，0:关闭
@property (nonatomic, assign) bool show_share_switch;

#pragma mark - 新手图标

///是否展示1:展示,0:不展示
@property (nonatomic, copy) NSString * novice_guidance_flag;
///图标
@property (nonatomic, copy) NSString * novice_guidance_icon;
///新手指导-地址类型（1：视频地址，2：H5地址
@property (nonatomic, copy) NSString * novice_guidance_url_type;
///新手指导动画
@property (nonatomic, copy) NSString * novice_guidance_video_url;

#pragma mark - 全站弹幕
@property (nonatomic, strong) NEDAppBarrageConfig  *global_barrage_config;


#pragma mark - 用户开关
///boxPaySwitch参数返回0时，盲盒试玩页面缺少底部文案；
@property (nonatomic, assign) BOOL boxPaySwitch;
@property (nonatomic, assign) BOOL depositSwitch;
@property (nonatomic, assign) BOOL prophetSwitch;
@property (nonatomic, assign) BOOL recoverySwitch;
@property (nonatomic, assign) BOOL replaySwitch;
@property (nonatomic, assign) BOOL signSwitch;

@end

NS_ASSUME_NONNULL_END
